Turn off metrics hinting
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Jul 2018 17:33:26 +0000 (13:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 28 Jul 2019 20:42:52 +0000 (16:42 -0400)
This will be necessary to see the effects of subpixel positioning.

gtk/gtksettings.c

index 77aeb3bf1bf5459983aaf00b9445a70d6108f23e..b3203e4c669c32d66b606831b2b45e8c84cffc25 100644 (file)
@@ -2062,7 +2062,7 @@ settings_update_font_options (GtkSettings *settings)
 
   priv->font_options = cairo_font_options_create ();
 
-  cairo_font_options_set_hint_metrics (priv->font_options, CAIRO_HINT_METRICS_ON);
+  cairo_font_options_set_hint_metrics (priv->font_options, CAIRO_HINT_METRICS_OFF);
 
   hint_style = CAIRO_HINT_STYLE_DEFAULT;
   if (hinting == 0)